package com.kwedding.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kwedding.bean.TB_Demo;

public interface TB_DemoMapper {

	TB_Demo selectByPrimaryKey(@Param("demoId") Long demoId);

	List<TB_Demo> selectDemolist(@Param("searchName") String searchName, @Param("brandId") Long brandId,
			@Param("status") Boolean status);

	int insert(TB_Demo tb_Demo);

	int update(TB_Demo tb_Demo);

	int updateBySelective(TB_Demo tb_Demo);

	List<TB_Demo>  selectDemoInUse( @Param("brandId") Long brandId, @Param("styleId") Long style_id);
}
